/*
 * @Author: 一路向阳 tt_sunzhenfeng@163.com
 * @Date: 2024-05-14 23:16:59
 * @LastEditors: 一路向阳 tt_sunzhenfeng@163.com
 * @LastEditTime: 2024-05-15 11:56:38
 * @FilePath: \react_nest_demo\nest_service\src\course\entities\course.entity.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';

@Entity()
export class Course {
  @PrimaryGeneratedColumn()
  id: number = 0;
  @Column()
  title: string = '';
  @Column()
  course_img: string = '';
  @Column()
  price: string = '';
  @Column()
  point: string = '';
  @Column()
  category: string = '';
  @Column()
  del: string = '';
}
